package com.wjk.cms.service;

import com.alibaba.fastjson.JSONObject;

import java.awt.image.BufferedImage;
import java.io.File;
import java.util.Map;

public interface WxXcxService {


    String getAccessToken(String channel);

    void forceRefreshAccessToken(String channel);

    BufferedImage getUnlimited(String userCode, String channel);

    JSONObject subscribeMessage(String channel, String touser, String templateId, Map<String, String> data) throws Exception;


    JSONObject imgCheck(File file, String ntc);
}
